package com.neibu.hw3;

import java.util.Arrays;

/**
 * @author bin
 * @date 2025 - 04 -02
 **/
public class MainTest {
    public static void main(String[] args) {
        Integer[] arr = {2, 4, 6, 1, 3, 4, 5};
        Arrays.sort(arr, (o1, o2) -> o2 - o1);

        System.out.println(Arrays.toString(arr));
    }
}
